package com.qingge.springboot.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qingge.springboot.entity.Score;
import com.qingge.springboot.entity.Stu;
import com.qingge.springboot.mapper.ScoreMapper;
import com.qingge.springboot.service.IScoreService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xyc
 * @since 2022-04-15
 */
@Service
public class ScoreServiceImpl extends ServiceImpl<ScoreMapper, Score> implements IScoreService {

    @Resource
    private ScoreMapper scoreMapper;

    @Override
    public Page<Score> findPage(Page<Score> page) {
        return scoreMapper.findPage(page);
    }

    @Override
    public Score details(Integer uid) {
        return scoreMapper.details(uid);
    }
}
